package cn.ucai.day03_DuoTai;

public class Father {
	public String name = "father";  
    //父类基本方法  
    public void fatherMethod()  
    {  
        System.out.println("父类的基本方法！");  
    }  
    //被子类覆盖方法  
    public void overrideMethod()  
    {  
        System.out.println("父类被子类覆盖方法！");  
    }  
}
